package com.ruoyi.wbs.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 打款记录对象 contractor_payment_record
 * 
 * @author zhaogang
 * @date 2024-07-28
 */
public class ContractorPaymentRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 打款记录主键 */
    private Long paymentId;

    /** 承包商主键 */
    @Excel(name = "承包商主键")
    private Long contractorId;

    /** 项目主键 */
    @Excel(name = "项目主键")
    private Long projectId;

    /** 单号 */
    @Excel(name = "单号")
    private String paymentNumber;

    /** 付款单位 */
    @Excel(name = "付款单位")
    private String paymentCompany;

    /** 付款金额 */
    @Excel(name = "付款金额")
    private BigDecimal paymentMoney;

    /** 付款经办人 */
    @Excel(name = "付款经办人")
    private String paymentManager;

    /** 收款经办人 */
    @Excel(name = "收款经办人")
    private String receiptManager;

    /** 打款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "打款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paymentDate;

    /** 付款方式 */
    @Excel(name = "付款方式")
    private String paymentType;

    public void setPaymentId(Long paymentId) 
    {
        this.paymentId = paymentId;
    }

    public Long getPaymentId() 
    {
        return paymentId;
    }
    public void setContractorId(Long contractorId) 
    {
        this.contractorId = contractorId;
    }

    public Long getContractorId() 
    {
        return contractorId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setPaymentNumber(String paymentNumber) 
    {
        this.paymentNumber = paymentNumber;
    }

    public String getPaymentNumber() 
    {
        return paymentNumber;
    }
    public void setPaymentCompany(String paymentCompany) 
    {
        this.paymentCompany = paymentCompany;
    }

    public String getPaymentCompany() 
    {
        return paymentCompany;
    }
    public void setPaymentMoney(BigDecimal paymentMoney) 
    {
        this.paymentMoney = paymentMoney;
    }

    public BigDecimal getPaymentMoney() 
    {
        return paymentMoney;
    }
    public void setPaymentManager(String paymentManager) 
    {
        this.paymentManager = paymentManager;
    }

    public String getPaymentManager() 
    {
        return paymentManager;
    }
    public void setReceiptManager(String receiptManager) 
    {
        this.receiptManager = receiptManager;
    }

    public String getReceiptManager() 
    {
        return receiptManager;
    }
    public void setPaymentDate(Date paymentDate) 
    {
        this.paymentDate = paymentDate;
    }

    public Date getPaymentDate() 
    {
        return paymentDate;
    }
    public void setPaymentType(String paymentType) 
    {
        this.paymentType = paymentType;
    }

    public String getPaymentType() 
    {
        return paymentType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paymentId", getPaymentId())
            .append("contractorId", getContractorId())
            .append("projectId", getProjectId())
            .append("paymentNumber", getPaymentNumber())
            .append("paymentCompany", getPaymentCompany())
            .append("paymentMoney", getPaymentMoney())
            .append("paymentManager", getPaymentManager())
            .append("receiptManager", getReceiptManager())
            .append("paymentDate", getPaymentDate())
            .append("paymentType", getPaymentType())
            .append("remark", getRemark())
            .toString();
    }
}
